representation of strings in data structure